package com.xsp.config;

import org.apache.ibatis.javassist.ClassPath;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.ImportResource;
import org.springframework.stereotype.Controller;

/**
 * @author xsp
 * @date 2024/1/20
 * @desc 自定义的spring配置类--代替配置文件
 */

@Configuration
@ImportResource("classpath:bean13.xml")
@ComponentScan(basePackages = {"com.xsp"},
        excludeFilters = {@ComponentScan.Filter(classes = {Controller.class})})
public class SpringConfig {
}
